#include "stm32f10x.h"
#include "led.h"
#include "delay.h"
#include "key.h"

int main()
{
	Led_init();
	Led_On();
	KeyInit();
	static uint8_t keynum=0;
	
	while(1)
	{
		keynum=KeyScan();
		if(keynum==1)
		{
			Led_Turn();
		}
		
	
		
		
		
	}
		
	
			
	
	
	
	return 0;
}
